package com.eddy.service.impl;

import com.eddy.entity.MainMenu;
import com.eddy.entity.SubjectMenu;
import com.eddy.mapper.MenuMapper;
import com.eddy.mapper.UserMapper;
import com.eddy.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MenuServiceImpl implements MenuService {
    @Autowired
    MenuMapper menuMapper;

    @Override
    public List<MainMenu> getMenus() {
        return menuMapper.getMainMenus();
    }
}
